/*
 * XmlFileNotFound.cpp
 *
 *  Created on: Jan 7, 2009
 *      Author: sez
 */

#include "XmlFileNotFound.h"

/*!
 * \brief Encapsulate file not found conditions in Xml handling.
 * \details Instances of this class are constructed on the stack
 * and thrown when file not found is detected in Xml processing.
 */

/*!
 * \brief Construct a new XmlFileNotFound object.
 * \details The new object is initialized with a message stating
 * that the given XML \a fileName is not found.
 * \param fileName to be set on the XmlException.
 */
XmlFileNotFound::XmlFileNotFound(const QString &fileName)
    : XmlException(QString("XML data file not found: %1").arg(fileName))
{
}

/*!
 * \brief Destroy the object, returning any resources.
 */
XmlFileNotFound::~XmlFileNotFound()
{
}
